package study.rpc.dubbo.provider.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import study.rpc.dubbo.api.EchoService;

@Slf4j
@Service("echoService")
public class EchoServiceImpl implements EchoService {

    @Override
    public String echo(String name) {
        log.info("name= {}", name);
        return String.format("echo echo echo, %s", name);
    }
}
